home *** CD-ROM | disk | FTP | other *** search
/ Apple WWDC 1996 / WWDC96_1996 (CD).toast / Technology Materials / MacOS 8 Resources / Developer Tools / Mac OS 8 Interfaces & Libraries / Interfaces / AIncludes / TextCommon.a < prev    next >
Text File  |  1996-05-01  |  42KB  |  1,160 lines

  1. ;
  2. ;    File:        TextCommon.a
  3. ;
  4. ;    Contains:    Definitions for common text types, values for them, and related routines 
  5. ;
  6. ;    Version:    Technology:    System 8
  7. ;                Release:    Universal Interfaces 3.0d3 on Copland DR1
  8. ;
  9. ;    Copyright:    © 1984-1996 by Apple Computer, Inc.  All rights reserved.
  10. ;
  11. ;    Bugs?:        If you find a problem with this file, send the file and version
  12. ;                information (from above) and the problem description to:
  13. ;
  14. ;                    Internet:    apple.bugs@applelink.apple.com
  15. ;                    AppleLink:    APPLE.BUGS
  16. ;
  17. ;
  18.     IF &TYPE('__TEXTCOMMON__') = 'UNDEFINED' THEN
  19. __TEXTCOMMON__ SET 1
  20.  
  21.     IF &TYPE('__TYPES__') = 'UNDEFINED' THEN
  22.     include 'Types.a'
  23.     ENDIF
  24.     IF FOR_SYSTEM7_AND_SYSTEM8_PREEMPTIVE THEN
  25. ;
  26. ;    LocaleLanguageCodes are derived from the alpha-3 character codes
  27. ;    in ISO 639. (see comment below)
  28. ;    
  29. ;    LocaleRegionCodes are derived from the alpha-2 codes in ISO 1399. 
  30. ;    (see comment below)
  31. ;    
  32. ;    Apple does not maintain the contents of these lists.  For that
  33. ;    we rely on ISO. Additionally, Apple will not attempt to create an enumerated
  34. ;    type containing the ISO language and territory codes.  Instead this file
  35. ;    contains two very long comments containing all the codes we know of at this
  36. ;    point in time (Nov. 1995).  To obtain the most up to date list you will
  37. ;    need to contact ISO.
  38. ;    
  39. ;    LocaleLanguageCode and LocaleRegionCodes along with LocaleCustomizationCodes
  40. ;    are used to create LocaleIdentifiers.  LocaleIdentifiers are packed
  41. ;    32-bit combinations of language and region information that can be
  42. ;    used to tag international data.
  43. ;
  44. ;    To create a  LocaleIdentifiers find the language you are interested in
  45. ;    see the long comment labeled "ISO CD 639-2 Language Codes."
  46. ;        
  47. ;    Next find the two character code that matches the territory/region you
  48. ;    are interested in.  These are located in the comment labeled
  49. ;    "Codes from ISO 3166." 
  50. ;    
  51. ;    This can then be passed to the function CreateLocaleIdentifier like 
  52. ;    this:
  53. ;        CreateLocaleIdentifier(
  54. ;                                'eng',        //english
  55. ;                                'AU',        //Australian
  56. ;                                0
  57. ;                            )
  58. ;
  59. ;    In some cases there is more than one alpha-3 symbol for a given
  60. ;    language.  Although, you can certainly create a LocaleIdentifier
  61. ;    from any of these symbols Apple has chosen preferred symbols which
  62. ;    will be used in Apple's localizations.  Where there are more than
  63. ;    one alpha-3 language symbol for a given language the preferred symbol
  64. ;    is the first one in the list. The second item in the list gives
  65. ;    both of the ISO codes.
  66. ;    i.e.
  67. ;        sqi        Albanian
  68. ;          alb/sqi Albanian
  69. ;
  70. ;
  71. ; typedef UInt32                         LocaleIdentifier
  72.  
  73. ;  Create correctly spelled versions of kSystemDefaultLocaleIdentifer and 
  74. ;  kUserDefaultLocaleIdentifer.  Leave the misspelled symbols in so nobody breaks. 
  75.  
  76. kLocaleIdentifierWildCard        EQU        $00000000
  77. kSystemDefaultLocaleIdentifer    EQU        $7FFFFFFF
  78. kSystemDefaultLocaleIdentifier    EQU        $7FFFFFFF
  79. kUserDefaultLocaleIdentifer        EQU        $7EEEEEEE
  80. kUserDefaultLocaleIdentifier    EQU        $7EEEEEEE
  81. ; typedef UInt32                         LocaleLanguageCode
  82.  
  83.  
  84. kLocaleLanguageWildCard            EQU        $00000000
  85. ; typedef UInt16                         LocaleRegionCode
  86.  
  87. ; typedef UInt16                         LocaleCustomizationCode
  88.  
  89.  
  90. kLocaleRegionWildCard            EQU        $0000
  91. kLocaleCustomizationWildCard    EQU        $0000
  92. ;  TextEncodingBase type & values 
  93. ;  (values 0-32 correspond to the Script Codes defined in Inside Macintosh: Text pages 6-52 and 6-53 
  94. ; typedef UInt32                         TextEncodingBase
  95.  
  96.  
  97.                                                             ; Mac OS encodings
  98. kTextEncodingMacRoman            EQU        0
  99. kTextEncodingMacJapanese        EQU        1
  100. kTextEncodingMacTradChinese        EQU        2
  101. kTextEncodingMacKorean            EQU        3
  102. kTextEncodingMacArabic            EQU        4
  103. kTextEncodingMacHebrew            EQU        5
  104. kTextEncodingMacGreek            EQU        6
  105. kTextEncodingMacCyrillic        EQU        7
  106. kTextEncodingMacRSymbol            EQU        8
  107. kTextEncodingMacDevanagari        EQU        9
  108. kTextEncodingMacGurmukhi        EQU        10
  109. kTextEncodingMacGujarati        EQU        11
  110. kTextEncodingMacOriya            EQU        12
  111. kTextEncodingMacBengali            EQU        13
  112. kTextEncodingMacTamil            EQU        14
  113. kTextEncodingMacTelugu            EQU        15
  114. kTextEncodingMacKannada            EQU        16
  115. kTextEncodingMacMalayalam        EQU        17
  116. kTextEncodingMacSinhalese        EQU        18
  117. kTextEncodingMacBurmese            EQU        19
  118. kTextEncodingMacKhmer            EQU        20
  119. kTextEncodingMacThai            EQU        21
  120. kTextEncodingMacLaotian            EQU        22
  121. kTextEncodingMacGeorgian        EQU        23
  122. kTextEncodingMacArmenian        EQU        24
  123. kTextEncodingMacSimpChinese        EQU        25
  124. kTextEncodingMacTibetan            EQU        26
  125. kTextEncodingMacMongolian        EQU        27
  126. kTextEncodingMacGeez            EQU        28
  127. kTextEncodingMacEastEurRoman    EQU        29
  128. kTextEncodingMacCentralEurRoman    EQU        29
  129. kTextEncodingMacVietnamese        EQU        30
  130. kTextEncodingMacExtArabic        EQU        31
  131. kTextEncodingMacUninterp        EQU        32
  132. kTextEncodingMacSymbol            EQU        33
  133. kTextEncodingMacDingbats        EQU        34
  134. kTextEncodingMacTurkish            EQU        35
  135. kTextEncodingMacCroatian        EQU        36
  136. kTextEncodingMacIcelandic        EQU        37
  137. kTextEncodingMacRomanian        EQU        38
  138. kTextEncodingMacUkrainian        EQU        152
  139. kTextEncodingMacBulgarian        EQU        153
  140. kTextEncodingMacHFS                EQU        $FF                    ; Meta-value, should never appear in a table.
  141.                                                             ; Unicode & ISO UCS encodings begin at 0x100
  142. kTextEncodingUnicodeDefault        EQU        $0100                ; Meta-value, should never appear in a table.
  143. kTextEncodingUnicodeV1_1        EQU        $0101
  144. kTextEncodingISO10646_1993        EQU        $0102                ; can have UCS4 format (Unicode can't)
  145.                                                             ; ISO 8-bit and 7-bit encodings begin at 0x200
  146. kTextEncodingISOLatin1            EQU        $0201                ; ISO 8859-1
  147. kTextEncodingISOLatin2            EQU        $0202                ; ISO 8859-2
  148. kTextEncodingISOLatinCyrillic    EQU        $0205                ; ISO 8859-5
  149. kTextEncodingISOLatinArabic        EQU        $0206                ; ISO 8859-6, = ASMO 708, =DOS CP 708
  150. kTextEncodingISOLatinGreek        EQU        $0207                ; ISO 8859-7
  151. kTextEncodingISOLatinHebrew        EQU        $0208                ; ISO 8859-8
  152. kTextEncodingISOLatin5            EQU        $0209                ; ISO 8859-9
  153.                                                             ; MS-DOS & Windows encodings begin at 0x400
  154. kTextEncodingDOSLatinUS            EQU        $0400                ; code page 437
  155. kTextEncodingDOSGreek            EQU        $0405                ; code page 737 (formerly code page 437G)
  156. kTextEncodingDOSBalticRim        EQU        $0406                ; code page 775
  157. kTextEncodingDOSLatin1            EQU        $0410                ; code page 850, "Multilingual"
  158. kTextEncodingDOSGreek1            EQU        $0411                ; code page 851
  159. kTextEncodingDOSLatin2            EQU        $0412                ; code page 852, Slavic
  160. kTextEncodingDOSCyrillic        EQU        $0413                ; code page 855, IBM Cyrillic
  161. kTextEncodingDOSTurkish            EQU        $0414                ; code page 857, IBM Turkish
  162. kTextEncodingDOSPortuguese        EQU        $0415                ; code page 860
  163. kTextEncodingDOSIcelandic        EQU        $0416                ; code page 861
  164. kTextEncodingDOSHebrew            EQU        $0417                ; code page 862
  165. kTextEncodingDOSCanadianFrench    EQU        $0418                ; code page 863
  166. kTextEncodingDOSArabic            EQU        $0419                ; code page 864
  167. kTextEncodingDOSNordic            EQU        $041A                ; code page 865
  168. kTextEncodingDOSRussian            EQU        $041B                ; code page 866
  169. kTextEncodingDOSGreek2            EQU        $041C                ; code page 869, IBM Modern Greek
  170. kTextEncodingDOSThai            EQU        $041D                ; code page 874, also used for Windows
  171. kTextEncodingDOSJapanese        EQU        $0420                ; code page 932, also used for Windows
  172. kTextEncodingDOSChineseSimplif    EQU        $0421                ; code page 936, also used for Windows
  173. kTextEncodingDOSKorean            EQU        $0422                ; code page 949, also used for Windows
  174. kTextEncodingDOSChineseTrad        EQU        $0423                ; code page 950, also used for Windows
  175. kTextEncodingWindowsLatin1        EQU        $0500                ; code page 1252
  176. kTextEncodingWindowsANSI        EQU        $0500                ; code page 1252 (alternate name)
  177. kTextEncodingWindowsLatin2        EQU        $0501                ; code page 1250, Central Europe
  178. kTextEncodingWindowsCyrillic    EQU        $0502                ; code page 1251, Slavic Cyrillic
  179. kTextEncodingWindowsGreek        EQU        $0503                ; code page 1253
  180. kTextEncodingWindowsLatin5        EQU        $0504                ; code page 1254, Turkish
  181. kTextEncodingWindowsHebrew        EQU        $0505                ; code page 1255
  182. kTextEncodingWindowsArabic        EQU        $0506                ; code page 1256
  183. kTextEncodingWindowsBalticRim    EQU        $0507                ; code page 1257
  184.                                                             ; Various national standards begin at 0x600
  185. kTextEncodingUS_ASCII            EQU        $0600
  186. kTextEncodingJIS_X0201_76        EQU        $0620
  187. kTextEncodingJIS_X0208_83        EQU        $0621
  188. kTextEncodingJIS_X0208_90        EQU        $0622
  189. kTextEncodingJIS_X0212_90        EQU        $0623
  190. kTextEncodingGB_2312_80            EQU        $0630
  191. kTextEncodingKSC_5601_87        EQU        $0640                ; ISO 2022 collections begin at 0x800
  192. kTextEncodingISO_2022_JP        EQU        $0820
  193. kTextEncodingISO_2022_JP_2        EQU        $0821
  194. kTextEncodingISO_2022_KR        EQU        $0840                ; EUC collections begin at 0x900
  195. kTextEncodingEUC_JP                EQU        $0920
  196. kTextEncodingEUC_KR                EQU        $0940                ; Other defacto standards begin at 0xA00
  197. kTextEncodingShiftJIS            EQU        $0A01                ; plain Shift-JIS
  198. kTextEncodingKOI8_R                EQU        $0A02                ; Russian internet standard
  199. ;  TextEncodingVariant type & values 
  200. ; typedef UInt32                         TextEncodingVariant
  201.  
  202.  
  203.                                                             ; Default TextEncodingVariant, for any TextEncodingBase
  204. kTextEncodingDefaultVariant        EQU        0                    ; Variants of kTextEncodingMacJapanese
  205. kJapaneseStandardVariant        EQU        0
  206. kJapaneseStdNoVerticalsVariant    EQU        1
  207. kJapaneseBasicVariant            EQU        2
  208. kJapanesePostScriptScrnVariant    EQU        3
  209. kJapanesePostScriptPrintVariant    EQU        4
  210. kJapaneseVertAtKuPlusTenVariant    EQU        5                    ; Variants of kTextEncodingMacHebrew
  211. kHebrewStandardVariant            EQU        0
  212. kHebrewFigureSpaceVariant        EQU        1                    ; Variants of kTextEncodingUnicodeV1_1
  213. kUnicodeNoSubset                EQU        0
  214. kUnicodeNoCompatibilityVariant    EQU        1
  215. kUnicodeMaxDecomposedVariant    EQU        2
  216. kUnicodeNoComposedVariant        EQU        3
  217. ;  TextEncodingFormat type & values 
  218. ; typedef UInt32                         TextEncodingFormat
  219.  
  220.  
  221.                                                             ; Default TextEncodingFormat for Any TextEncodingBase
  222. kTextEncodingDefaultFormat        EQU        0                    ; Formats for kTextEncodingUnicodeV1_1
  223. kUnicode16BitFormat                EQU        0
  224. kUnicodeUTF7Format                EQU        1
  225. kUnicodeUTF8Format                EQU        2                    ; Formats for kTextEncodingISO10646_1993
  226. kISO10646UCS2Format                EQU        0
  227. ;  TextEncoding type 
  228. ; typedef UInt32                         TextEncoding
  229.  
  230. ;  enums for TextEncoding Conversion routines 
  231.  
  232. kTextScriptDontCare                EQU        -128
  233. kTextLanguageDontCare            EQU        -128
  234. kTextRegionDontCare                EQU        -128
  235. ;  Character Group and Class 
  236. ; typedef UInt8                         CharacterGroup
  237.  
  238.  
  239. kCharGroupAny                    EQU        0                    ; wildcard
  240. kCharGroupControl                EQU        1
  241. kCharGroupCommon                EQU        2
  242. kCharGroupRomanNumeral            EQU        4
  243. kCharGroupLatin                    EQU        8
  244. kCharGroupGreek                    EQU        9
  245. kCharGroupCyrillic                EQU        10
  246. kCharGroupArmenian                EQU        11
  247. kCharGroupHebrew                EQU        12
  248. kCharGroupArabic                EQU        13
  249. kCharGroupIndicCommon            EQU        14
  250. kCharGroupDevanagari            EQU        15
  251. kCharGroupBengali                EQU        16
  252. kCharGroupGurmukhi                EQU        17
  253. kCharGroupGujarati                EQU        18
  254. kCharGroupOriya                    EQU        19
  255. kCharGroupTamil                    EQU        20
  256. kCharGroupTelugu                EQU        21
  257. kCharGroupKannada                EQU        22
  258. kCharGroupMalayalam                EQU        23
  259. kCharGroupSinhala                EQU        24
  260. kCharGroupThai                    EQU        25
  261. kCharGroupLao                    EQU        26
  262. kCharGroupBurmese                EQU        27
  263. kCharGroupKhmer                    EQU        28
  264. kCharGroupTibetan                EQU        29
  265. kCharGroupMongolian                EQU        30
  266. kCharGroupGeorgian                EQU        31
  267. kCharGroupEthiopic                EQU        32
  268. kCharGroupCJKCommon                EQU        48
  269. kCharGroupJapaneseCommon        EQU        49
  270. kCharGroupKanaCommon            EQU        50
  271. kCharGroupHiragana                EQU        51
  272. kCharGroupKatakana                EQU        52
  273. kCharGroupBopomofo                EQU        53
  274. kCharGroupJamoHangul            EQU        54
  275. kCharGroupCJKIdeograph            EQU        55
  276. kCharGroupUserDefined            EQU        62
  277. ; typedef UInt8                         CharacterSubgroup
  278.  
  279. ; typedef UInt8                         CharacterClass
  280.  
  281.  
  282. kCharClassAny                    EQU        0                    ; wildcard
  283. kCharClassLetter                EQU        1
  284. kCharClassNumber                EQU        2
  285. kCharClassSeparator                EQU        3
  286. kCharClassPunctuation            EQU        4
  287. kCharClassSymbol                EQU        5
  288. kCharClassControl                EQU        6
  289. kCharClassUndefined                EQU        7
  290. ; typedef UInt8                         CharacterSubclass
  291.  
  292. ;  subclass wildcard for all classes
  293.  
  294. kCharSubclassAny                EQU        0
  295. ;  subclasses for class letter
  296.  
  297. kCharSubclassLetterBasic        EQU        1
  298. kCharSubclassLetterModifier        EQU        2
  299. kCharSubclassLetterCombining    EQU        3
  300. kCharSubclassLetterWordAbbrev    EQU        4
  301. ;  subclasses for class number
  302.  
  303. kCharSubclassNumberBasic        EQU        1
  304. kCharSubclassNumberFraction        EQU        2
  305. ;  subclasses for class separator
  306.  
  307. kCharSubclassSeparatorSpace        EQU        1
  308. kCharSubclassSeparatorNoBreak    EQU        2
  309. kCharSubclassSeparatorTab        EQU        3
  310. kCharSubclassSeparatorLineBreak    EQU        4
  311. ;  subclasses for class symbol
  312.  
  313. kCharSubclassSymbolOther        EQU        1
  314. kCharSubclassSymbolMath            EQU        2
  315. kCharSubclassSymbolCurrency        EQU        3
  316. kCharSubclassSymbolCombining    EQU        4
  317. ; typedef UInt16                         CharacterSubclassMask
  318.  
  319.  
  320. kCharLetterBasicMask            EQU        $02
  321. kCharLetterModifierMask            EQU        $04
  322. kCharLetterCombiningMask        EQU        $08
  323. kCharLetterWordAbbrevMask        EQU        $10
  324. kCharNumberBasicMask            EQU        $02
  325. kCharNumberFractionMask            EQU        $04
  326. kCharSeparatorSpaceMask            EQU        $02
  327. kCharSeparatorNoBreakMask        EQU        $04
  328. kCharSeparatorTabMask            EQU        $08
  329. kCharSeparatorLineBreakMask        EQU        $10
  330. kCharSymbolOtherMask            EQU        $02
  331. kCharSymbolMathMask                EQU        $04
  332. kCharSymbolCurrencyMask            EQU        $08
  333. ;  Prototypes for LocaleIdentifier functions 
  334. ;
  335. ; extern LocaleIdentifier CreateLocaleIdentifier(LocaleLanguageCode language, LocaleRegionCode region, LocaleCustomizationCode customization)
  336. ;
  337.     IF GENERATINGCFM THEN
  338.         IMPORT_CFM_FUNCTION CreateLocaleIdentifier
  339.     ENDIF
  340.  
  341. ;
  342. ; extern LocaleLanguageCode GetLocaleLanguage(LocaleIdentifier identifier)
  343. ;
  344.     IF GENERATINGCFM THEN
  345.         IMPORT_CFM_FUNCTION GetLocaleLanguage
  346.     ENDIF
  347.  
  348. ;
  349. ; extern LocaleRegionCode GetLocaleRegion(LocaleIdentifier identifier)
  350. ;
  351.     IF GENERATINGCFM THEN
  352.         IMPORT_CFM_FUNCTION GetLocaleRegion
  353.     ENDIF
  354.  
  355. ;
  356. ; extern LocaleCustomizationCode GetLocaleCustomization(LocaleIdentifier identifier)
  357. ;
  358.     IF GENERATINGCFM THEN
  359.         IMPORT_CFM_FUNCTION GetLocaleCustomization
  360.     ENDIF
  361.  
  362. ;  Prototypes for TextEncoding functions 
  363. ;
  364. ; pascal TextEncoding CreateTextEncoding(TextEncodingBase encodingBase, TextEncodingVariant encodingVariant, TextEncodingFormat encodingFormat)
  365. ;
  366.     IF ¨ GENERATINGCFM THEN
  367.         Macro
  368.         _CreateTextEncoding
  369.             move.w              #$0615,D0
  370.             dc.w                $ABCE
  371.         EndM
  372.     ELSE
  373.         IMPORT_CFM_FUNCTION CreateTextEncoding
  374.     ENDIF
  375.  
  376. ;
  377. ; pascal TextEncodingBase GetTextEncodingBase(TextEncoding encoding)
  378. ;
  379.     IF ¨ GENERATINGCFM THEN
  380.         Macro
  381.         _GetTextEncodingBase
  382.             move.w              #$0216,D0
  383.             dc.w                $ABCE
  384.         EndM
  385.     ELSE
  386.         IMPORT_CFM_FUNCTION GetTextEncodingBase
  387.     ENDIF
  388.  
  389. ;
  390. ; pascal TextEncodingVariant GetTextEncodingVariant(TextEncoding encoding)
  391. ;
  392.     IF ¨ GENERATINGCFM THEN
  393.         Macro
  394.         _GetTextEncodingVariant
  395.             move.w              #$0217,D0
  396.             dc.w                $ABCE
  397.         EndM
  398.     ELSE
  399.         IMPORT_CFM_FUNCTION GetTextEncodingVariant
  400.     ENDIF
  401.  
  402. ;
  403. ; pascal TextEncodingFormat GetTextEncodingFormat(TextEncoding encoding)
  404. ;
  405.     IF ¨ GENERATINGCFM THEN
  406.         Macro
  407.         _GetTextEncodingFormat
  408.             move.w              #$0218,D0
  409.             dc.w                $ABCE
  410.         EndM
  411.     ELSE
  412.         IMPORT_CFM_FUNCTION GetTextEncodingFormat
  413.     ENDIF
  414.  
  415.     ENDIF
  416.     IF FOR_SYSTEM7_AND_SYSTEM8_COOPERATIVE THEN
  417. ;
  418. ; pascal OSStatus UpgradeScriptInfoToTextEncoding(ScriptCode textScriptID, LangCode textLanguageID, RegionCode regionID, ConstStr255Param textFontname, TextEncoding *encoding)
  419. ;
  420.     IF ¨ GENERATINGCFM THEN
  421.         Macro
  422.         _UpgradeScriptInfoToTextEncoding
  423.             move.w              #$0710,D0
  424.             dc.w                $ABCE
  425.         EndM
  426.     ELSE
  427.         IMPORT_CFM_FUNCTION UpgradeScriptInfoToTextEncoding
  428.     ENDIF
  429.  
  430. ;
  431. ; pascal OSStatus RevertTextEncodingToScriptInfo(TextEncoding encoding, ScriptCode *textScriptID, LangCode *textLanguageID, Str255 textFontname)
  432. ;
  433.     IF ¨ GENERATINGCFM THEN
  434.         Macro
  435.         _RevertTextEncodingToScriptInfo
  436.             move.w              #$0811,D0
  437.             dc.w                $ABCE
  438.         EndM
  439.     ELSE
  440.         IMPORT_CFM_FUNCTION RevertTextEncodingToScriptInfo
  441.     ENDIF
  442.  
  443.     ENDIF
  444.     IF FOR_SYSTEM8_COOPERATIVE THEN
  445. ;
  446. ; extern OSStatus UpgradeScriptInfoToLocaleIdentifier(ScriptCode script, LangCode language, RegionCode region, ConstStr255Param fontName, LocaleIdentifier *identifier)
  447. ;
  448.     IF GENERATINGCFM THEN
  449.         IMPORT_CFM_FUNCTION UpgradeScriptInfoToLocaleIdentifier
  450.     ENDIF
  451.  
  452. ;
  453. ; extern OSStatus RevertLocaleIdentifierToScriptInfo(LocaleIdentifier identifier, ScriptCode *script, LangCode *language, Str255 fontName)
  454. ;
  455.     IF GENERATINGCFM THEN
  456.         IMPORT_CFM_FUNCTION RevertLocaleIdentifierToScriptInfo
  457.     ENDIF
  458.  
  459.     ENDIF
  460.     IF FOR_SYSTEM7_AND_SYSTEM8_PREEMPTIVE THEN
  461. ; typedef FourCharCode                     CharPropertyType
  462.  
  463.  
  464. kCharPropertyTypeFlags            EQU        'flag'
  465. kCharPropertyTypeClass            EQU        'clas'
  466. kCharPropertyTypeGroup            EQU        'grup'
  467. kCharPropertyTypeDirection        EQU        'dirc'
  468. kCharPropertyTypeReorderPri        EQU        'reor'
  469. kCharPropertyTypeToken            EQU        'tokn'
  470. kCharPropertyTypeCtypes            EQU        'ctyp'
  471. ; typedef UInt32                         CharPropertyValue
  472.  
  473. ;
  474. ; extern OSStatus GetCharacterProperties(BytePtr charPtr, TextEncoding encoding, ItemCount propertyCount, CharPropertyType typeList[2147483647], CharPropertyValue valueList[2147483647])
  475. ;
  476.     IF GENERATINGCFM THEN
  477.         IMPORT_CFM_FUNCTION GetCharacterProperties
  478.     ENDIF
  479.  
  480.     ENDIF
  481. ;
  482. ;----------------------------------------------------------------------------
  483. ;
  484. ;ISO CD 639-2 Language Codes
  485. ;
  486. ;----------------------------------------------------------------------------
  487. ;
  488. ;This is a extract of a paper called ISO CD 639/2 Draft Proposal, titled
  489. ;"Code for the representation of names of languages, alpha-3 code" dated
  490. ;12/16/91.
  491. ;
  492. ;   * Typed in by Keld.Simonsen@dkuug.dk 1993-11-11
  493. ;
  494. ;  Table 3
  495. ;  Alpha-3 symbols arranged alphabetically by symbol
  496. ;
  497. ;  Symbol  Language name
  498. ;
  499. ;  abk     Abkhazian
  500. ;  ace     Achinese
  501. ;  ach     Acoli
  502. ;  ada     Adangme
  503. ;  aar     Afar
  504. ;  afr     Africaans
  505. ;  afh     Afrihili
  506. ;  afa     Afro-Asiatic (Other)
  507. ;  aka     Akan
  508. ;  akk     Akkadian
  509. ;  sqi      Albanian
  510. ;  alb/sqi Albanian
  511. ;  ale     Aleut
  512. ;  alg     Algonquian languages
  513. ;  ajm     Aljamia
  514. ;  tut     Altaic (Other)
  515. ;  amh     Amharic
  516. ;  apa     Apache languages
  517. ;  ara     Arabic
  518. ;  arc     Aramaic
  519. ;  arp     Arapaho
  520. ;  arn     Araucanian
  521. ;  arw     Arawak
  522. ;  hye     Armenian
  523. ;  hye/arm Armenian
  524. ;  art     Artificial (Other)
  525. ;  asm     Assamese
  526. ;  ath     Athapascan languages
  527. ;  map     Austronesian (Other)
  528. ;  ava     Avaric
  529. ;  ave     Avestan
  530. ;  awa     Awandhi
  531. ;  aym     Aymara
  532. ;  aze     Azerbaijani
  533. ;  nah     Aztec
  534. ;  ban     Balinese
  535. ;  bat     Baltic (Other)
  536. ;  bal     Baluchi
  537. ;  bam     Bambara
  538. ;  bai     Bamileke languages
  539. ;  bad     Banda
  540. ;  bas     Basa
  541. ;  bak     Bashkir
  542. ;  eus     Basque
  543. ;  baq/eus Basque
  544. ;  bej     Beja
  545. ;  bem     Bemba
  546. ;  ben     Bengali
  547. ;  ber     Berber languages
  548. ;  bho     Bhojpuri
  549. ;  bih     Bihari
  550. ;  bik     Bikol
  551. ;  bin     Bini
  552. ;  bis     Bislama
  553. ;  bra     Braj
  554. ;  bre     Breton
  555. ;  bug     Buginese
  556. ;  bul     Bulgarian
  557. ;  mya     Burmese
  558. ;  bur/mya Burmese
  559. ;  bel     Byelorussian
  560. ;  cad     Caddo
  561. ;  car     Carib
  562. ;  cat     Catalan
  563. ;  cau     Caucasian (Other)
  564. ;  ceb     Cebuano
  565. ;  cel     Celtic (Other)
  566. ;  cai     Central American Indian (Other)
  567. ;  chg     Chagatai
  568. ;  cha     Chamorro
  569. ;  che     Chechen
  570. ;  chr     Cherokee
  571. ;  chy     Cheyenne
  572. ;  chb     Chibcha
  573. ;  zho     Chinese
  574. ;  zho/chi Chinese
  575. ;  chn     Chinook jargon
  576. ;  cho     Choctaw
  577. ;  chu     Church Slavic
  578. ;  chv     Chuvash
  579. ;  cop     Coptic
  580. ;  cor     Cornish
  581. ;  cos     Corsican
  582. ;  cre     Cree
  583. ;  mus     Creek
  584. ;  cpe     Creoles and pidgins, English-based (Other)
  585. ;  crp     Creoles and pidgins (Other)
  586. ;  cpp     Creoles and pidgins, Portuguese-based (Other)
  587. ;  cpf     Creoles and pidgins, French-based (Other)
  588. ;  cus     Cushitic (Other)
  589. ;  ces     Czech
  590. ;  ces/cze Czeck
  591. ;  dak     Dakota
  592. ;  dan     Danish
  593. ;  del     Delaware
  594. ;  din     Dinka
  595. ;  doi     Dogri
  596. ;  dra     Dravidian (Other)
  597. ;  dua     Duala
  598. ;  nld     Dutch
  599. ;  dut/nld Dutch
  600. ;  dum     Dutch, Middle (ca. 1050-1350)
  601. ;  dyu     Dyula
  602. ;  dzo     Dzongkha
  603. ;  efi     Efik
  604. ;  egy     Egyptian (Ancient)
  605. ;  eka     Ekajuk
  606. ;  elx     Elamite
  607. ;  eng     English
  608. ;  enm     English, Middle (1100-1500)
  609. ;  ang     English, Old (ca. 450-1100)
  610. ;  esk     Eskimo (Other)
  611. ;  epo     Esperanto
  612. ;  est     Estonian
  613. ;  eth     Ethiopic
  614. ;  ewe     Ewe
  615. ;  ewo     Ewondo
  616. ;  fan     Fang
  617. ;  fat     Fanti
  618. ;  fao     Faroese
  619. ;  fij     Fijian
  620. ;  fin     Finnish
  621. ;  fiu     Finno-Ugrian (Other)
  622. ;  fon     Fon
  623. ;  fra     French
  624. ;  fra/fre French
  625. ;  fro     French, Old (ca. 842-1400)
  626. ;  frm     French, Middel (ca. 1400-1600)
  627. ;  fry     Friesian
  628. ;  ful     Fulah
  629. ;  gaa     Ga
  630. ;  gdh     Gaelic (Scots)
  631. ;  gdh/gae Gaelic (Scots)
  632. ;  glg     Gallegan
  633. ;  lug     Ganda
  634. ;  gay     Gayo
  635. ;  kat     Georgian
  636. ;  geo/kat Georgian
  637. ;  deu     German
  638. ;  ger/deu German
  639. ;  goh     German, Old High (ca. 750-1050)
  640. ;  gmh     German, Middle High (ca. 1050-1500)
  641. ;  gem     Germanic (Other)
  642. ;  gil     Gilbertese
  643. ;  gon     Gondi
  644. ;  got     Gothic
  645. ;  grb     Grebo
  646. ;  ell     Greek, Modern (1453- )
  647. ;  gre/ell Greek, Modern (1453- )
  648. ;  grc     Greek, Ancient (to 1453)
  649. ;  kal     Greenlandic
  650. ;  grn     Guarani
  651. ;  guj     Gujarati
  652. ;  hai     Haida
  653. ;  hau     Hausa
  654. ;  haw     Hawaiian
  655. ;  heb     Hebrew
  656. ;  her     Herero
  657. ;  hil     Hiligaynon
  658. ;  him     Himachali
  659. ;  hin     Hindi
  660. ;  hmo     Hiri Motu
  661. ;  hun     Hungarian
  662. ;  hup     Hupa
  663. ;  iba     Iban
  664. ;  isl     Icelandic
  665. ;  ice/isl Icelandic
  666. ;  ibo     Igbo
  667. ;  ijo     Ijo
  668. ;  ilo     Iloko
  669. ;  inc     Indic (Other)
  670. ;  ine     Indo-European (Other)
  671. ;  ind     Indonesian
  672. ;  ina     Interlingua (International Auxilary Language Association)
  673. ;  ile     Interlingue
  674. ;  iku     Inuktitut
  675. ;  ipk     Inupiak
  676. ;  ira     Iranian (Other)
  677. ;  gai     Irish
  678. ;  iri/gai Irish
  679. ;  iro     Iroquoian languages
  680. ;  ita     Italian
  681. ;  jpn     Japanese
  682. ;  jaw     Javanese
  683. ;  jav/jaw Javanese
  684. ;  jrb     Judeo-Arabic
  685. ;  jpr     Judeo-Persian
  686. ;  kab     Kabyle
  687. ;  kac     Kachin
  688. ;  kam     Kamba
  689. ;  kan     Kannada
  690. ;  kau     Kanuri
  691. ;  kaa     Kara-Kalpak
  692. ;  kar     Karen
  693. ;  kas     Kashmiri
  694. ;  kaw     Kawi
  695. ;  kaz     Kazakh
  696. ;  kha     Khasi
  697. ;  khm     Khmer
  698. ;  khi     Khoisan (Other)
  699. ;  kho     Khotanese
  700. ;  kik     Kikuyu
  701. ;  kin     Kinyarwanda
  702. ;  kir     Kirghiz
  703. ;  kon     Kongo
  704. ;  kok     Konkani
  705. ;  kor     Korean
  706. ;  kpe     Kpelle
  707. ;  kro     Kru
  708. ;  kua     Kuanyama
  709. ;  kur     Kurdish
  710. ;  kru     Kurukh
  711. ;  kus     Kusaie
  712. ;  kut     Kutenai
  713. ;  lad     Ladino
  714. ;  lah     Lahnda
  715. ;  lam     Lamba
  716. ;  oci     Langue d'oc (post 1500)
  717. ;  lao     Lao
  718. ;  lap     Lapp languages
  719. ;  lat     Latin
  720. ;  lav     Latvian
  721. ;  lin     Lingala
  722. ;  lit     Lithuanian
  723. ;  loz     Lozi
  724. ;  lub     Luba-Katanga
  725. ;  lui     Luiseno
  726. ;  lun     Lunda
  727. ;  luo     Luo (Kenya and Tanzania)
  728. ;  mke     Macedonian
  729. ;  mac/mke Macedonian
  730. ;  mad     Madurese
  731. ;  mag     Magahi
  732. ;  mai     Maithili
  733. ;  mak     Makasar
  734. ;  mlg     Malagasy
  735. ;  msa     Malay
  736. ;  may/msa Malay
  737. ;  mal     Malayalam
  738. ;  mlt     Maltese
  739. ;  man     Mandingo
  740. ;  mni     Manipuri
  741. ;  mno     Manobo languages
  742. ;  max     Manx
  743. ;  mri     Maori
  744. ;  mri/mao Maori
  745. ;  mar     Marathi
  746. ;  mah     Marshall
  747. ;  mwr     Marwari
  748. ;  mas     Masai
  749. ;  myn     Mayan languages
  750. ;  men     Mende
  751. ;  mic     Micmac
  752. ;  min     Minangkabau
  753. ;  mis     Miscellaneous (Other)
  754. ;  moh     Mohawk
  755. ;  mol     Moldavian
  756. ;  mkh     Mon-Khmer (Other)
  757. ;  lol     Mongo
  758. ;  mon     Mongolian
  759. ;  mos     Mossi
  760. ;  mul     Multiple languages
  761. ;  mun     Munda (Other)
  762. ;  nau     Nauru
  763. ;  nav     Navajo
  764. ;  nde     Ndebele (Zimbabwe)
  765. ;  ndo     Ndonga
  766. ;  nep     Nepali
  767. ;  new     Newari
  768. ;  nic     Niger-Kordofanian (Other)
  769. ;  ssa     Nilo-Saharan (Other)
  770. ;  niu     Niuean
  771. ;  nai     North American Indian (Other)
  772. ;  nso     Northern Sohto
  773. ;  nor     Norwegian
  774. ;  nub     Nubian languages
  775. ;  nym     Nyamwezi
  776. ;  nya     Nyanja
  777. ;  nyn     Nyankole
  778. ;  nyo     Nyoro
  779. ;  nzi     Nzima
  780. ;  oji     Ojibwa
  781. ;  non     Old Norse
  782. ;  peo     Old Persian (ca. 600-400 B.C.)
  783. ;  ori     Oriya
  784. ;  orm     Oromo
  785. ;  osa     Osage
  786. ;  oss     Ossetic
  787. ;  oto     Otomian languages
  788. ;  pal     Pahlavi
  789. ;  pau     Palauan
  790. ;  pli     Pali
  791. ;  pam     Pampanga
  792. ;  pag     Pangasinan
  793. ;  pan     Panjabi
  794. ;  pap     Papiamento
  795. ;  paa     Papuan-Australian (Other)
  796. ;  fas     Persian
  797. ;  fas/per Persian
  798. ;  pol     Polish
  799. ;  pon     Ponape
  800. ;  por     Portuguese
  801. ;  pra     Prakrit languages
  802. ;  pro     Provencal, Old (to 1500)
  803. ;  pus     Pushto
  804. ;  que     Quechua
  805. ;  roh     Raeto-Romance
  806. ;  raj     Rajasthani
  807. ;  rar     Rarotongan
  808. ;  roa     Romance (Other)
  809. ;  rum     Romanian
  810. ;  ron/rum Romanian
  811. ;  rom     Romany
  812. ;  run     Rundi
  813. ;  rus     Russian
  814. ;  sal     Salishan languages
  815. ;  sam     Samaritan Aramaic
  816. ;  smo     Samoan
  817. ;  sad     Sandawe
  818. ;  sag     Sango
  819. ;  san     Sanskrit
  820. ;  sco     Scots
  821. ;  sel     Selkup
  822. ;  sem     Semitic (Other)
  823. ;  scr     Serbo-Croatian
  824. ;  srr     Serer
  825. ;  shn     Shan
  826. ;  sna     Shona
  827. ;  sid     Sidamo
  828. ;  bla     Siksika
  829. ;  snd     Sindhi
  830. ;  sin     Sinhalese
  831. ;  sit     Sino-Tibetan (Other)
  832. ;  sio     Siouan languages
  833. ;  sla     Slavic (Other)
  834. ;  slk     Slovak
  835. ;  slo/slk Slovak
  836. ;  slv     Slovenian
  837. ;  sog     Sogdian
  838. ;  som     Somali
  839. ;  son     Songhai
  840. ;  wen     Sorbian languages
  841. ;  sot     Sotho
  842. ;  sai     South American Indian (Other)
  843. ;  esl     Spanish
  844. ;  esl/spa Spanish
  845. ;  suk     Sukuma
  846. ;  sux     Sumerian
  847. ;  sun     Sundanese
  848. ;  sus     Susu
  849. ;  swa     Swahili
  850. ;  ssw     Swazi
  851. ;  sve     Swedish
  852. ;  swe/sve Swedish
  853. ;  syr     Syriac
  854. ;  tgl     Tagalog
  855. ;  tah     Tahitian
  856. ;  tgk     Tajik
  857. ;  tam     Tamil
  858. ;  tat     Tatar
  859. ;  tel     Telugu
  860. ;  ter     Tereno
  861. ;  tha     Thai
  862. ;  bod     Tibetan
  863. ;  tib/bod Tibetan
  864. ;  tig     Tigre
  865. ;  tir     Tigrinya
  866. ;  tem     Timne
  867. ;  tiv     Tivi
  868. ;  tli     Tlingit
  869. ;  ton     Tonga (Tonga Islands)
  870. ;  tog     Tonga (Nyasa)
  871. ;  tru     Truk
  872. ;  tsi     Tsimshian
  873. ;  tso     Tsonga
  874. ;  tsn     Tswana
  875. ;  tum     Tumbuka
  876. ;  tur     Turkish
  877. ;  ota     Turkish, Ottoman
  878. ;  tuk     Turkmen
  879. ;  twi     Twi
  880. ;  uga     Ugaritic
  881. ;  uig     Uighur
  882. ;  ukr     Ukrainian
  883. ;  umb     Umbundu
  884. ;  und     Undetermined
  885. ;  urd     Urdu
  886. ;  uzb     Uzbek
  887. ;  vai     Vai
  888. ;  ven     Venda
  889. ;  vie     Vietnamese
  890. ;  vol     Volapuk
  891. ;  vot     Votic
  892. ;  wak     Wakashan languages
  893. ;  wal     Walamo
  894. ;  war     Waray
  895. ;  was     Washo
  896. ;  cym       Welsh
  897. ;  cym/wel Welsh
  898. ;  wol     Wolof
  899. ;  xho     Xhosa
  900. ;  yao     Yao
  901. ;  yap     Yap
  902. ;  yid     Yiddish
  903. ;  yor     Yoruba
  904. ;  zap     Zapotec
  905. ;  zen     Zenaga
  906. ;  zha     Zhuang
  907. ;  zul     Zulu
  908. ;  zun     Zuni
  909. ;
  910. ;
  911. ;
  912. ;Codes from ISO 3166 
  913. ;
  914. ;Updated by the RIPE Network Coordination Centre, in coordination with
  915. ;the ISO 3166 Maintenance Agency, Berlin
  916. ;
  917. ;Country                                         A 2     A 3     Number
  918. ;----------------------------------------------------------------------
  919. ;AFGHANISTAN                                     AF      AFG     004
  920. ;ALBANIA                                         AL      ALB     008
  921. ;ALGERIA                                         DZ      DZA     012
  922. ;AMERICAN SAMOA                                  AS      ASM     016
  923. ;ANDORRA                                         AD      AND     020
  924. ;ANGOLA                                          AO      AGO     024
  925. ;ANGUILLA                                        AI      AIA     660
  926. ;ANTARCTICA                                      AQ      ATA     010
  927. ;ANTIGUA AND BARBUDA                             AG      ATG     028
  928. ;ARGENTINA                                       AR      ARG     032
  929. ;ARMENIA                                         AM      ARM     051  
  930. ;ARUBA                                           AW      ABW     533
  931. ;AUSTRALIA                                       AU      AUS     036
  932. ;AUSTRIA                                         AT      AUT     040
  933. ;AZERBAIJAN                                      AZ      AZE     031  
  934. ;BAHAMAS                                         BS      BHS     044
  935. ;BAHRAIN                                         BH      BHR     048
  936. ;BANGLADESH                                      BD      BGD     050
  937. ;BARBADOS                                        BB      BRB     052
  938. ;BELARUS                                         BY      BLR     112  
  939. ;BELGIUM                                         BE      BEL     056
  940. ;BELIZE                                          BZ      BLZ     084
  941. ;BENIN                                           BJ      BEN     204
  942. ;BERMUDA                                         BM      BMU     060
  943. ;BHUTAN                                          BT      BTN     064
  944. ;BOLIVIA                                         BO      BOL     068
  945. ;BOSNIA AND HERZEGOWINA                          BA      BIH     070
  946. ;BOTSWANA                                        BW      BWA     072
  947. ;BOUVET ISLAND                                   BV      BVT     074
  948. ;BRAZIL                                          BR      BRA     076
  949. ;BRITISH INDIAN OCEAN TERRITORY                  IO      IOT     086
  950. ;BRUNEI DARUSSALAM                               BN      BRN     096
  951. ;BULGARIA                                        BG      BGR     100
  952. ;BURKINA FASO                                    BF      BFA     854
  953. ;BURUNDI                                         BI      BDI     108
  954. ;CAMBODIA                                        KH      KHM     116
  955. ;CAMEROON                                        CM      CMR     120
  956. ;CANADA                                          CA      CAN     124
  957. ;CAPE VERDE                                      CV      CPV     132
  958. ;CAYMAN ISLANDS                                  KY      CYM     136
  959. ;CENTRAL AFRICAN REPUBLIC                        CF      CAF     140
  960. ;CHAD                                            TD      TCD     148
  961. ;CHILE                                           CL      CHL     152
  962. ;CHINA                                           CN      CHN     156
  963. ;CHRISTMAS ISLAND                                CX      CXR     162
  964. ;COCOS (KEELING) ISLANDS                         CC      CCK     166
  965. ;COLOMBIA                                        CO      COL     170
  966. ;COMOROS                                         KM      COM     174
  967. ;CONGO                                           CG      COG     178
  968. ;COOK ISLANDS                                    CK      COK     184
  969. ;COSTA RICA                                      CR      CRI     188
  970. ;COTE D'IVOIRE                                   CI      CIV     384
  971. ;CROATIA (local name: Hrvatska)                  HR      HRV     191      
  972. ;CUBA                                            CU      CUB     192
  973. ;CYPRUS                                          CY      CYP     196
  974. ;CZECH REPUBLIC                                  CZ      CZE     203  
  975. ;DENMARK                                         DK      DNK     208
  976. ;DJIBOUTI                                        DJ      DJI     262
  977. ;DOMINICA                                        DM      DMA     212
  978. ;DOMINICAN REPUBLIC                              DO      DOM     214
  979. ;EAST TIMOR                                      TP      TMP     626
  980. ;ECUADOR                                         EC      ECU     218
  981. ;EGYPT                                           EG      EGY     818
  982. ;EL SALVADOR                                     SV      SLV     222
  983. ;EQUATORIAL GUINEA                               GQ      GNQ     226
  984. ;ERITREA                                        ER       ERI    232
  985. ;ESTONIA                                         EE      EST     233  
  986. ;ETHIOPIA                                        ET      ETH     210
  987. ;FALKLAND ISLANDS (MALVINAS)                     FK      FLK     238
  988. ;FAROE ISLANDS                                   FO      FRO     234
  989. ;FIJI                                            FJ      FJI     242
  990. ;FINLAND                                         FI      FIN     246
  991. ;FRANCE                                          FR      FRA     250
  992. ;FRANCE, METROPOLITAN                            FX      FXX     249  
  993. ;FRENCH GUIANA                                   GF      GUF     254
  994. ;FRENCH POLYNESIA                                PF      PYF     258
  995. ;FRENCH SOUTHERN TERRITORIES                     TF      ATF     260
  996. ;GABON                                           GA      GAB     266
  997. ;GAMBIA                                          GM      GMB     270
  998. ;GEORGIA                                         GE      GEO     268  
  999. ;GERMANY                                         DE      DEU     276
  1000. ;GHANA                                           GH      GHA     288
  1001. ;GIBRALTAR                                       GI      GIB     292
  1002. ;GREECE                                          GR      GRC     300
  1003. ;GREENLAND                                       GL      GRL     304
  1004. ;GRENADA                                         GD      GRD     308
  1005. ;GUADELOUPE                                      GP      GLP     312
  1006. ;GUAM                                            GU      GUM     316
  1007. ;GUATEMALA                                       GT      GTM     320
  1008. ;GUINEA                                          GN      GIN     324
  1009. ;GUINEA-BISSAU                                   GW      GNB     624
  1010. ;GUYANA                                          GY      GUY     328
  1011. ;HAITI                                           HT      HTI     332
  1012. ;HEARD AND MC DONALD ISLANDS                     HM      HMD     334
  1013. ;HONDURAS                                        HN      HND     340
  1014. ;HONG KONG                                       HK      HKG     344
  1015. ;HUNGARY                                         HU      HUN     348
  1016. ;ICELAND                                         IS      ISL     352
  1017. ;INDIA                                           IN      IND     356
  1018. ;INDONESIA                                       ID      IDN     360
  1019. ;IRAN (ISLAMIC REPUBLIC OF)                      IR      IRN     364
  1020. ;IRAQ                                            IQ      IRQ     368
  1021. ;IRELAND                                         IE      IRL     372
  1022. ;ISRAEL                                          IL      ISR     376
  1023. ;ITALY                                           IT      ITA     380
  1024. ;JAMAICA                                         JM      JAM     388
  1025. ;JAPAN                                           JP      JPN     392
  1026. ;JORDAN                                          JO      JOR     400
  1027. ;KAZAKHSTAN                                      KZ      KAZ     398  
  1028. ;KENYA                                           KE      KEN     404
  1029. ;KIRIBATI                                        KI      KIR     296
  1030. ;KOREA, DEMOCRATIC PEOPLE'S REPUBLIC OF          KP      PRK     408
  1031. ;KOREA, REPUBLIC OF                              KR      KOR     410
  1032. ;KUWAIT                                          KW      KWT     414
  1033. ;KYRGYZSTAN                                      KG      KGZ     417  
  1034. ;LAO PEOPLE'S DEMOCRATIC REPUBLIC                LA      LAO     418
  1035. ;LATVIA                                          LV      LVA     428  
  1036. ;LEBANON                                         LB      LBN     422
  1037. ;LESOTHO                                         LS      LSO     426
  1038. ;LIBERIA                                         LR      LBR     430
  1039. ;LIBYAN ARAB JAMAHIRIYA                          LY      LBY     434
  1040. ;LIECHTENSTEIN                                   LI      LIE     438
  1041. ;LITHUANIA                                       LT      LTU     440  
  1042. ;LUXEMBOURG                                      LU      LUX     442
  1043. ;MACAU                                           MO      MAC     446
  1044. ;MACEDONIA, THE FORMER YUGOSLAV REPUBLIC OF      MK      MKD     807 (provis)
  1045. ;MADAGASCAR                                      MG      MDG     450
  1046. ;MALAWI                                          MW      MWI     454
  1047. ;MALAYSIA                                        MY      MYS     458
  1048. ;MALDIVES                                        MV      MDV     462
  1049. ;MALI                                            ML      MLI     466
  1050. ;MALTA                                           MT      MLT     470
  1051. ;MARSHALL ISLANDS                                MH      MHL     584
  1052. ;MARTINIQUE                                      MQ      MTQ     474
  1053. ;MAURITANIA                                      MR      MRT     478
  1054. ;MAURITIUS                                       MU      MUS     480
  1055. ;MAYOTTE                                         YT      MYT     175  
  1056. ;MEXICO                                          MX      MEX     484
  1057. ;MICRONESIA, FEDERATED STATES OF                 FM      FSM     583
  1058. ;MOLDOVA, REPUBLIC OF                            MD      MDA     498  
  1059. ;MONACO                                          MC      MCO     492
  1060. ;MONGOLIA                                        MN      MNG     496
  1061. ;MONTSERRAT                                      MS      MSR     500
  1062. ;MOROCCO                                         MA      MAR     504
  1063. ;MOZAMBIQUE                                      MZ      MOZ     508
  1064. ;MYANMAR                                         MM      MMR     104
  1065. ;NAMIBIA                                         NA      NAM     516
  1066. ;NAURU                                           NR      NRU     520
  1067. ;NEPAL                                           NP      NPL     524
  1068. ;NETHERLANDS                                     NL      NLD     528
  1069. ;NETHERLANDS ANTILLES                            AN      ANT     530
  1070. ;NEW CALEDONIA                                   NC      NCL     540
  1071. ;NEW ZEALAND                                     NZ      NZL     554
  1072. ;NICARAGUA                                       NI      NIC     558
  1073. ;NIGER                                           NE      NER     562
  1074. ;NIGERIA                                         NG      NGA     566
  1075. ;NIUE                                            NU      NIU     570
  1076. ;NORFOLK ISLAND                                  NF      NFK     574
  1077. ;NORTHERN MARIANA ISLANDS                        MP      MNP     580
  1078. ;NORWAY                                          NO      NOR     578
  1079. ;OMAN                                            OM      OMN     512
  1080. ;PAKISTAN                                        PK      PAK     586
  1081. ;PALAU                                           PW      PLW     585
  1082. ;PANAMA                                          PA      PAN     591
  1083. ;PAPUA NEW GUINEA                                PG      PNG     598
  1084. ;PARAGUAY                                        PY      PRY     600
  1085. ;PERU                                            PE      PER     604
  1086. ;PHILIPPINES                                     PH      PHL     608
  1087. ;PITCAIRN                                        PN      PCN     612
  1088. ;POLAND                                          PL      POL     616
  1089. ;PORTUGAL                                        PT      PRT     620
  1090. ;PUERTO RICO                                     PR      PRI     630
  1091. ;QATAR                                           QA      QAT     634
  1092. ;REUNION                                         RE      REU     638
  1093. ;ROMANIA                                         RO      ROM     642
  1094. ;RUSSIAN FEDERATION                              RU      RUS     643
  1095. ;RWANDA                                          RW      RWA     646
  1096. ;SAINT KITTS AND NEVIS                           KN      KNA     659
  1097. ;SAINT LUCIA                                     LC      LCA     662
  1098. ;SAINT VINCENT AND THE GRENADINES                VC      VCT     670
  1099. ;SAMOA                                           WS      WSM     882
  1100. ;SAN MARINO                                      SM      SMR     674
  1101. ;SAO TOME AND PRINCIPE                           ST      STP     678
  1102. ;SAUDI ARABIA                                    SA      SAU     682
  1103. ;SENEGAL                                         SN      SEN     686
  1104. ;SEYCHELLES                                      SC      SYC     690
  1105. ;SIERRA LEONE                                    SL      SLE     694
  1106. ;SINGAPORE                                       SG      SGP     702
  1107. ;SLOVAKIA (Slovak Republic)                      SK      SVK     703  
  1108. ;SLOVENIA                                        SI      SVN     705  
  1109. ;SOLOMON ISLANDS                                 SB      SLB     090
  1110. ;SOMALIA                                         SO      SOM     706
  1111. ;SOUTH AFRICA                                    ZA      ZAF     710
  1112. ;SPAIN                                           ES      ESP     724
  1113. ;SRI LANKA                                       LK      LKA     144
  1114. ;ST. HELENA                                      SH      SHN     654
  1115. ;ST. PIERRE AND MIQUELON                         PM      SPM     666
  1116. ;SUDAN                                           SD      SDN     736
  1117. ;SURINAME                                        SR      SUR     740
  1118. ;SVALBARD AND JAN MAYEN ISLANDS                  SJ      SJM     744
  1119. ;SWAZILAND                                       SZ      SWZ     748
  1120. ;SWEDEN                                          SE      SWE     752
  1121. ;SWITZERLAND                                     CH      CHE     756
  1122. ;SYRIAN ARAB REPUBLIC                            SY      SYR     760
  1123. ;TAIWAN, PROVINCE OF CHINA                       TW      TWN     158
  1124. ;TAJIKISTAN                                      TJ      TJK     762  
  1125. ;TANZANIA, UNITED REPUBLIC OF                    TZ      TZA     834
  1126. ;THAILAND                                        TH      THA     764
  1127. ;TOGO                                            TG      TGO     768
  1128. ;TOKELAU                                         TK      TKL     772
  1129. ;TONGA                                           TO      TON     776
  1130. ;TRINIDAD AND TOBAGO                             TT      TTO     780
  1131. ;TUNISIA                                         TN      TUN     788
  1132. ;TURKEY                                          TR      TUR     792
  1133. ;TURKMENISTAN                                    TM      TKM     795  
  1134. ;TURKS AND CAICOS ISLANDS                        TC      TCA     796
  1135. ;TUVALU                                          TV      TUV     798
  1136. ;UGANDA                                          UG      UGA     800
  1137. ;UKRAINE                                         UA      UKR     804
  1138. ;UNITED ARAB EMIRATES                            AE      ARE     784
  1139. ;UNITED KINGDOM                                  GB      GBR     826
  1140. ;UNITED STATES                                   US      USA     840
  1141. ;UNITED STATES MINOR OUTLYING ISLANDS            UM      UMI     581
  1142. ;URUGUAY                                         UY      URY     858
  1143. ;UZBEKISTAN                                      UZ      UZB     860  
  1144. ;VANUATU                                         VU      VUT     548
  1145. ;VATICAN CITY STATE (HOLY SEE)                   VA      VAT     336
  1146. ;VENEZUELA                                       VE      VEN     862
  1147. ;VIET NAM                                        VN      VNM     704
  1148. ;VIRGIN ISLANDS (BRITISH)                        VG      VGB     092
  1149. ;VIRGIN ISLANDS (U.S.)                           VI      VIR     850
  1150. ;WALLIS AND FUTUNA ISLANDS                       WF      WLF     876
  1151. ;WESTERN SAHARA                                  EH      ESH     732
  1152. ;YEMEN                                           YE      YEM     887
  1153. ;YUGOSLAVIA                                      YU      YUG     891
  1154. ;ZAIRE                                           ZR      ZAR     180
  1155. ;ZAMBIA                                          ZM      ZMB     894
  1156. ;ZIMBABWE                                        ZW      ZWE     716
  1157. ;
  1158.     ENDIF ; __TEXTCOMMON__ 
  1159.  
  1160.